/**
 *  iBizSys 5.0 机器人生产代码（不要直接修改当前代码）
 *  http://www.ibizsys.net
 */
package com.sa.litetwo.srv.card.dao;

import net.ibizsys.paas.db.IDBDialect;
import net.ibizsys.paas.core.IDataEntity;
import net.ibizsys.paas.util.StringHelper;
import net.ibizsys.paas.core.IDEDBCallContext;
import net.ibizsys.paas.db.DBCallResult;
import net.ibizsys.paas.demodel.IDataEntityModel;
import net.ibizsys.paas.demodel.DEModelGlobal;
import net.ibizsys.paas.dao.DAOGlobal;
import net.ibizsys.paas.dao.IDAO;
import net.ibizsys.paas.entity.IEntity;
import javax.annotation.PostConstruct;
import org.springframework.stereotype.Repository;

import com.sa.litetwo.srv.card.demodel.GG_GRDHONORDEModel;
import com.sa.litetwo.srv.card.entity.GG_GRDHONOR;
/**
 * 实体[GG_GRDHONOR] DAO对象
 */
@Repository
public class GG_GRDHONORDAO extends com.sa.litetwo.srv.liteTwoSysDAOBase<GG_GRDHONOR> {

   private static final long serialVersionUID = -1L;

   public static final String DATAQUERY_DEFAULT = "DEFAULT";

   public GG_GRDHONORDAO(){
        super();
       
    }
   
   @PostConstruct  
   public void postConstruct() throws Exception{    
	   DAOGlobal.registerDAO(getDAOId(), this);
   }    

   	/* (non-Javadoc)
	 * @see net.ibizsys.paas.dao.DAOBase#getDAOId()
	 */
	@Override
	 protected String getDAOId()
	 {
		 return "com.sa.litetwo.srv.card.dao.GG_GRDHONORDAO";
	 }
     
      private GG_GRDHONORDEModel gG_GRDHONORDEModel;

      /**
  	 	* 获取实体[GG_GRDHONOR]模型对象
  	 	* @return
  	 	*/
      public  GG_GRDHONORDEModel getGG_GRDHONORDEModel() {
            if(this.gG_GRDHONORDEModel==null){
                try
                {
                     this.gG_GRDHONORDEModel = (GG_GRDHONORDEModel)DEModelGlobal.getDEModel("com.sa.litetwo.srv.card.demodel.GG_GRDHONORDEModel");
                }
                catch(Exception ex)
                {
                }
            }
           return this.gG_GRDHONORDEModel;
      }

      	/*
      	 * (non-Javadoc)
      	 * @see net.ibizsys.paas.dao.DAOBase#getDEModel()
      	 */
  		@Override
       public  IDataEntityModel getDEModel() {
          return this.getGG_GRDHONORDEModel();
      }
 

  
}